package com.mt.channel.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.mt.course.entity.CourseEntity;
import com.mt.customer.entity.CustomerEntity;

public class ChannelOrderEntity implements Serializable, Cloneable {
    /**
     *
     */
    private static final long serialVersionUID = -1653081904644377384L;

    private Integer channelOrderId;

    private Integer channelId;

    private String channelNo;

    private Integer customerId;

    private Integer courseId;

    private String courseNo;

    private BigDecimal courseMoney;

    private BigDecimal orderBeforeMoney;

    private BigDecimal orderAfterMoney;

    private String remark;

    private Integer type;

    private Integer orderStatus;

    private Date createTime;

    private Date updateTime;

    private String createUserName;

    private Integer createUserId;

    private Integer isRefund;

    private ChannelEntity channelEntity;

    private CourseEntity courseEntity;

    private ChannelCustomerEntity channelCustomerEntity;

    private CustomerEntity customerEntity;

    private String orderSn;

    private BigDecimal checkChannelPrice;

    private Integer channelCourseTime;

    @Override
    public Object clone() {
        ChannelOrderEntity channelOrderEntity = null;
        try {
            channelOrderEntity = (ChannelOrderEntity)super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return channelOrderEntity;
    }

    public Integer getChannelCourseTime() {
        return channelCourseTime;
    }

    public void setChannelCourseTime(Integer channelCourseTime) {
        this.channelCourseTime = channelCourseTime;
    }

    public BigDecimal getCheckChannelPrice() {
        return checkChannelPrice;
    }

    public void setCheckChannelPrice(BigDecimal checkChannelPrice) {
        this.checkChannelPrice = checkChannelPrice;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public CustomerEntity getCustomerEntity() {
        return customerEntity;
    }

    public void setCustomerEntity(CustomerEntity customerEntity) {
        this.customerEntity = customerEntity;
    }

    public Integer getChannelOrderId() {
        return channelOrderId;
    }

    public void setChannelOrderId(Integer channelOrderId) {
        this.channelOrderId = channelOrderId;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo == null ? null : channelNo.trim();
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getCourseNo() {
        return courseNo;
    }

    public void setCourseNo(String courseNo) {
        this.courseNo = courseNo == null ? null : courseNo.trim();
    }

    public BigDecimal getCourseMoney() {
        return courseMoney;
    }

    public void setCourseMoney(BigDecimal courseMoney) {
        this.courseMoney = courseMoney;
    }

    public BigDecimal getOrderBeforeMoney() {
        return orderBeforeMoney;
    }

    public void setOrderBeforeMoney(BigDecimal orderBeforeMoney) {
        this.orderBeforeMoney = orderBeforeMoney;
    }

    public BigDecimal getOrderAfterMoney() {
        return orderAfterMoney;
    }

    public void setOrderAfterMoney(BigDecimal orderAfterMoney) {
        this.orderAfterMoney = orderAfterMoney;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getIsRefund() {
        return isRefund;
    }

    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public ChannelEntity getChannelEntity() {
        return channelEntity;
    }

    public void setChannelEntity(ChannelEntity channelEntity) {
        this.channelEntity = channelEntity;
    }

    public CourseEntity getCourseEntity() {
        return courseEntity;
    }

    public void setCourseEntity(CourseEntity courseEntity) {
        this.courseEntity = courseEntity;
    }

    public ChannelCustomerEntity getChannelCustomerEntity() {
        return channelCustomerEntity;
    }

    public void setChannelCustomerEntity(ChannelCustomerEntity channelCustomerEntity) {
        this.channelCustomerEntity = channelCustomerEntity;
    }

}